package com.example.aigc_education.mapper;

import com.example.aigc_education.domain.CozeTask;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 23918
* @description 针对表【coze_task(coze异步工作流任务表)】的数据库操作Mapper
* @createDate 2024-11-05 14:07:40
* @Entity com.example.aigc_education.domain.CozeTask
*/
public interface CozeTaskMapper extends BaseMapper<CozeTask> {

    @Select("select DISTINCT plan_id from coze_task where task_status = #{taskStatus}")
    List<Long> queryPlanIdsByTaskStatus(String taskStatus);
}




